package com.taplinker.client.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;

import com.taplinker.client.im.db.DatabaseHelper;
/**
 * 用户数据库
 * @author djbian
 *
 */
public class CustomerDBHelper extends DatabaseHelper {
	
	private final String DB_CUSTOMER_SQL = "CREATE TABLE [customer]"
			+ "([customerId] INT, "
			+ "[customerName] [VARCHAR(200)]," 
			+ "[visitorId] [VARCHAR(200)]);";

	public CustomerDBHelper(Context context, String name, CursorFactory factory, int version) {
		super(context, name, factory, version);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL(DB_CUSTOMER_SQL);
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
	}
	
}
